package com.wwwc.admin.web.servlet;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.sql.SQLException;

import com.wwwc.admin.web.database.*;
import com.wwwc.util.web.*;

public class IndexBean {
    public static Hashtable getTreeHash () {
	Hashtable tree_hash   = new Hashtable();
	Hashtable action_hash = new Hashtable();
	action_hash.put("tid","/1?action=list_databases");
	action_hash.put("mid","/1?action=main_test");
	action_hash.put("lid","/left");
	tree_hash.put("1", action_hash);
	action_hash = new Hashtable();
	action_hash.put("tid","/1?action=list_databases");
	action_hash.put("mid","/1?action=list_table");
	action_hash.put("lid","/1?action=left_test");
	tree_hash.put("2", action_hash);
	return tree_hash;
    }
}
